package top.pengdong.pictureShare.userAuth.feign.mail;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import top.pengdong.pictureShare.common.model.R;

/**
 * @description: 远程调用 mail 服务器
 * @projectName: pictureShare
 * @see: top.pengdong.pictureShare.userAuth.feign.mail
 * @author: pc
 * @createTime: 2022/4/18 23:28
 * @version: 1.0
 */
@FeignClient(value = "spring-cloud-mail-server")
public interface MailFeignServer {
	@PostMapping("/mail/send")
	R sendMailForActivationAccount(@RequestParam(value = "activationUrl") String activationUrl,@RequestParam(value = "mail") String mail);
}
